package leetcode.f1t100;

/**
 * 寻找第一个出现的字符下标
 * https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string/
 * @Author lichongxiao
 * @Date 2022/10/8 14:21
 */
public class Q28_FindFirstOccurrence {
    public int strStr(String haystack, String needle) {
        return haystack.indexOf(needle);
    }
}
